using System;
using System.ComponentModel.DataAnnotations;

namespace Boa.AIT.AccesoDatos.Entidades
{
 public partial class AIT_AlmacenEmpresa
 {
     public AIT_AlmacenEmpresa()
     {
     }
     #region foreign Keys

     public int RegionId_FK {get;set;}
     private AIT_Region RegionId_obj ;
     public virtual AIT_Region Region
      {
          get { return RegionId_obj; }
          set {
                RegionId_obj = value;
                if (RegionId_obj != null) RegionId_FK = RegionId_obj.Id; 
          }
      }
     #endregion
     public virtual int   Id { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "NombreAlmacen")]
     public virtual string   NombreAlmacen { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Direccion")]
     public virtual string   Direccion { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Responsable")]
     public virtual string   Responsable { get; set;}

     //[StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     //[Display(Name = "Latitud")]
     //public virtual string   Latitud { get; set;}

     //[StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     //[Display(Name = "Longitud")]
     //public virtual string   Longitud { get; set;}
 }
}

